AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(dogon,0.6.0)

#
# -- test for dependencies first, so we die quickly when they are not met
#

AC_CHECK_PROG([XSLTPROC],[xsltproc],[xsltproc])
if test -z $XSLTPROC ; then
   echo "Error: this library requires xsltproc to compile."
   echo "The xsltproc program is available at http://xmlsoft.org/XSLT/ ."
   echo "If xsltproc is already available but not in your PATH, please modify"
   echo "the PATH so that this script can find it."
   exit
fi

AC_PROG_LIBTOOL
AC_PROG_CC


AC_OUTPUT(Makefile generate/Makefile libsrc/Makefile include/Makefile)
